#include<iostream>
using namespace std;
int exam4_9()
{
	float score, tot = 0;
	int pep = 0;
	cin >> score;
	while (score!= 0)
	{
		pep++;
		tot+= score;
		cin >> score;
	}
	cout << tot / pep << endl;
	return 0;
}